<html>
<head><meta charset="utf-8"><title>const_err · edition 2021 · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/index.html">edition 2021</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/const_err.html">const_err</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="236103624"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/const_err/near/236103624" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/const_err.html#236103624">(Apr 25 2021 at 23:56)</a>:</h4>
<p>I forget, are there plans to make <code>const_err</code> a hard error on the next edition?</p>



<a name="236126639"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/const_err/near/236126639" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mara <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/const_err.html#236126639">(Apr 26 2021 at 06:36)</a>:</h4>
<p>(cc <span class="user-mention" data-user-id="224872">@rylev</span> who knows everything about lints and errors w.r.t. the edition)</p>



<a name="236137796"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/const_err/near/236137796" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/const_err.html#236137796">(Apr 26 2021 at 08:28)</a>:</h4>
<p>No there was not. I know from experience that I have allowed const_err as a way to get panics in const code. I imagine that there are work arounds to what I was doing, but given that it's not been proposed for 2021 inclusion nor is it completely obvious that this is something we want to do, I'm not sure it's a good candidate for late inclusion.</p>



<a name="236137888"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/268952-edition%202021/topic/const_err/near/236137888" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/268952-edition-2021/topic/const_err.html#236137888">(Apr 26 2021 at 08:29)</a>:</h4>
<p>In general, we'll probably have fewer lint to error upgrades than we may be want, but the plan is to establish a more official lint =&gt; error plan so that for the next edition, things are not so ad-hoc.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>